package com.lj.frame.file.repo;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lj.frame.file.entity.FileConf;
import com.lj.frame.file.repo.mapper.FileConfMapper;

public class FileConfRepository extends ServiceImpl<FileConfMapper, FileConf> {


    public FileConf getActive() {
        return lambdaQuery().eq(FileConf::getIsActive, true).one();
    }
}
